const schedule = require('./index');


const bot = require('../bot/index');

function initSchedule() {
  console.log(`已经设定每日说任务`);
  
  schedule.setSchedule('0 */1 * * * *', async () => {
    console.log('你的贴心小助理开始工作啦！');
    
  });

  schedule.setSchedule('*/30 * * * * *', async () => {
    console.info("weixinLogin", bot.getStatus(), bot.getQrCode())
    
  });



}
module.exports = {
  initSchedule
}
